drm/vc4: Mark the device as active when enabling runtime PM.
authorEric Anholt <eric@anholt.net>
Mon, 15 May 2017 16:28:36 +0000 (09:28 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:50:53 +0000 (02:50 +0000)
commitd60ec76b6e95465d69b4f14d27bdef37fedf034d
tree10c0def944a8f1ae1d6e2b9c62c4e5a417682119
parent2a356b6eded6c4fc44c70cddd2641ab341dbcf49
drm/vc4: Mark the device as active when enabling runtime PM.

Failing to do so meant that we got a resume() callback on first use of
the device, so we would leak the bin BO that we allocated during
probe.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 553c942f8b2c ("drm/vc4: Allow using more than 256MB of CMA memory.")
drivers/gpu/drm/vc4/vc4_v3d.c